import EzViewConfigCom from "./EzViewConfigCom";
export default function () {
    let items = []

    function add(name,label,span) {
        let item = EzViewConfigCom()
        item.setViewName(name).setViewLabel(label).setViewSpan(span)
        items.push(item)
        return item
    }

    return {
        items,
        add,
    }
}